package edu.sctu.zcy.month201505.day20150526.homeworkchen_v2;

import edu.sctu.zcy.month201505.day20150526.homeworkchen.Student;

/**
 * Created by user24 on 2015/5/26.
 */

public class Card {

    edu.sctu.zcy.month201505.day20150526.homeworkchen.Student student = new Student();

    private String name;
    private int balance;//余额
    private String department;//系别

    public int getBalance(){

        balance = (int) (Math.random()*20);

        return balance;
    }

    public String getName() {
        return name;
    }

    public void setName() {
        this.name = student.name;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment() {
        this.department = student.department;
    }





}
